'use strict';
const Service = require('egg').Service;
class BaseService extends Service {
  check_result_mysql(result) {
    const insertSuccess = result.affectedRows === 1;
    return insertSuccess;
  }
}

module.exports = BaseService;
